package com.cjb.cloudsystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjb.cloudsystem.entity.SysDictType;
import com.cjb.cloudsystem.vo.SysDictTypeVO;

import java.util.List;

/**
* 字典类型
*
* @author 陈锦斌 2213859123@qq.com
* @since 1.0.0 2023-09-29
*/
public interface SysDictTypeService extends com.baomidou.mybatisplus.extension.service.IService<SysDictType> {
    /**
    * 单体保存
    * @Author chenjinbin
    * @Value
    * @Title
    */
    boolean save(SysDictType sysDictType);

    /**
    *批量保存
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    Integer listSave(List<SysDictType> sysDictType);
    /**
    * 批量更新
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    void listUpdate(List<SysDictType> sysDictType);
    /**
    * 批量删除
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    void listDelete(List<SysDictType> sysDictType);


    /**
    * 通过id删除
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    int deleteById(SysDictType sysDictType);
    /**
    *单个查询
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    SysDictType queryById(SysDictType sysDictType);
    /**
    * 分页查询
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    Page queryPage(Page sysDictTypePage , SysDictTypeVO sysDictType);

    /**
    * 返回全部信息
    *
    * @Author chenjinbin
    * @Value
    * @Title
    */
    List<SysDictType> returnAllData();
}
